/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jpaintball;

import java.awt.Color;
import java.awt.Graphics2D;


/**
 *
 * @author ondra
 */
public abstract class Bunker extends GameObject {
    
    Bunker(int x, int y, int width, int height, int poleX, int poleY, double angle) {

        super(x, y, width, height, poleX, poleY, angle);

    }

    public void drawSprite(Graphics2D g2d) {
        g2d.setColor(Color.BLACK);
        g2d.fillRect(position.getX(), position.getY(), position.getWidth(), position.getHeight());
    }

}
